package cn.pegasus.teamwork.sysconfig.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.iyizhan.teamwork.base.service.impl.BaseServiceImpl;
import cn.pegasus.teamwork.sysconfig.entity.SysSomething;
import cn.pegasus.teamwork.sysconfig.mapper.SysSomethingMapper;
import cn.pegasus.teamwork.sysconfig.service.SysSomethingService;

/**
 * @author buyuer
 * @version
 */
@Service
public class SysSomethingServiceImpl extends BaseServiceImpl<SysSomething, SysSomethingMapper> implements SysSomethingService {
    // 注入当前dao对象
    @Autowired
    private SysSomethingMapper sysSomethingMapper;

    public SysSomethingServiceImpl() {
        setMapperClass(SysSomethingMapper.class, SysSomething.class);
    }

    public List<SysSomething> query(SysSomething something) {
        
        return sysSomethingMapper.selectByObject(something);
    }

}
